package Thread;

public class OutGuestThread extends Thread {
	InOutProcess ip;
	
	public OutGuestThread(InOutProcess ip){
		this.ip = ip;
	}
	
	@Override
	public void run(){
		for(int i = 1 ; i < 100 ; i++){
			ip.outGuest();
			try{
				Thread.sleep(3000);
			}catch(InterruptedException e){
				e.printStackTrace();
			}
			
		}
	}
}
